
<?php if(!empty($listatutela)): ?>
<div class="row-fluid">
    <div class="span12">
        <h3 class="heading">Alumnos a la tutela de <?php echo $padre['Padre']['ap_paterno'] ?>&nbsp;<?php echo $padre['Padre']['ap_materno'] ?>&nbsp;<?php echo $padre['Padre']['nombre'] ?></h3> 
        <table class="table table-striped table-bordered dTableR" id="dt_a">
            <thead>
                <tr>   
                   <th>Item</th>                                       
                    <th>Apellido Paterno</th>
                    <th>Apellido Materno</th>
                    <th>Nombre</th>
                    <th>Fecha registro</th>    
                    <th>
                    Acciones
                    </th>
                </tr>
            </thead>
            <tbody>
                <?php $i=1; ?>
                <?php foreach ($listatutela as $alumno): ?>
                    <tr>      
                       <td><?php echo $i; $i++; ?></td>                                           
                        <td><?php echo $alumno['Alumno']['ap_paterno']; ?></td>
                        <td><?php echo $alumno['Alumno']['ap_materno']; ?></td>
                        <td><?php echo $alumno['Alumno']['nombre']; ?></td> 
                        <td><?php echo $alumno['AlumnosPadre']['created']; ?></td>
                        <td>
                        <?php echo $this->Html->image('icons/cross.png', array('action'=>'eliminartutela', $alumno['AlumnosPadre']['id'])) ?>
                        </td>
                    </tr>
                    <?php
                endforeach;
                ?>
            </tbody>
        </table>                
    </div>   
</div>
<?php else: ?>
    <h4>No exiten alumnos bajo la tutela del padre o tutor: <?php echo $padre['Padre']['ap_paterno'] ?>&nbsp;<?php echo $padre['Padre']['ap_materno'] ?>&nbsp;<?php echo $padre['Padre']['nombre'] ?></h4>
<?php endif; ?>
<?php echo $this->
	element('sidebar/padresadmin'); ?>
	<?php echo $this->
		element('jstablas'); ?>
<!-- fin sidebar -->
<?php echo $this->element('jstablas'); ?>
 